//
//  UTOTP.h
//  OTPGenerator
//
//  Created by 武探 on 2017/3/30.
//  Copyright © 2017年 wutan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UTOTPConfiguration.h"

NS_ASSUME_NONNULL_BEGIN

@interface UTOTP : NSObject

@property(nonatomic, strong, readonly) UTOTPConfiguration *configuration;

-(instancetype)init NS_UNAVAILABLE;
-(instancetype)initWithConfiguration:(UTOTPConfiguration*)configuration;

-(NSString *)generateOTP;
-(NSString *)generateOTPForCounter:(uint64_t)counter;

@end

NS_ASSUME_NONNULL_END
